DataSource for Entity Framework in WPF
C1.Data.Entities Namespace / EntityFrameworkExtensions Class / AsLive Method / AsLive<T>(EntityCollection<T>) Method
The type of the entities in the entities.
The entity collection to convert.

In This Topic
    AsLive<T>(EntityCollection<T>) Method
    In This Topic
    Converts an EntityCollection to an editable live view.
    Syntax
    'Declaration
     
    Public Overloads Shared Function AsLive(Of T As {Class, IEntityWithRelationships})( _
       ByVal entities As EntityCollection(Of T) _
    ) As View(Of T)
    public static View<T> AsLive<T>( 
       EntityCollection<T> entities
    )
    where T: class, IEntityWithRelationships

    Parameters

    entities
    The entity collection to convert.

    Type Parameters

    T
    The type of the entities in the entities.

    Return Value

    The resulting live view.
    See Also